
<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>

<title><fmt:message key="customerList.title"/></title>
<content tag="heading"><fmt:message key="customerList.heading"/></content>
<meta name="menu" content="CustomerMenu"/>


<table width="100%" height="76" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="left" valign="top" >
	  
	  
			<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
			  <tr>
				<td height="25" bgcolor="#5F9CD4" class="font01">&nbsp;&nbsp;&nbsp;&nbsp;系统&gt;&gt; 客户管理&gt;&gt;客户管理</td>
			  </tr>
			  <tr>
				<td height="8"></td>
			  </tr>
			</table>
			  
			  
	  
			  <table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
				  <td>&nbsp;</td>
				</tr>
			  </table>
      
	           <form action="#" name="editForm"  method="post">
			  <!---list begin--->
			  <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CDCDCD">
				<tr>
				  <td height="25" background="img/m-bt-bg01.gif" bgcolor="#FFFFFF" style="background-repeat:no-repeat;background-position:right">
				  
					  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
						  <tr>
							<td width="2%" height="24"><img src="img/dian-1.gif" width="6" height="6" /></td>
							<td width="48%" class="btn02">客户列表 </td>
							<td width="50%" align="right"><span class="text4">
							
							<a href="userEditCustomer.html?method=saveCustomer">增加</a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
						  </tr>
					  </table>
				   </td>
				</tr>
				<tr>
				  <td valign="top" bgcolor="#F8F8F8">
						    
					
							
				 <c:set var="checkAll">
                          <input type="checkbox" name="allbox" onclick="checkAll(this.form)" style="margin: 0 0 0 4px"/>
                 </c:set>
               
               
               <display:table name="customerList" cellspacing="0" cellpadding="0"
					    id="customer" pagesize="25" class="simple" 
					    requestURI="">
					   
					     <display:column   title="<input type=\"checkbox\" name=\"allbox\" onclick=\"checkAll(this.form)\">">
								  <input type="checkbox" name="ids" value="<c:out value='${customer.customerId}'/>"/>
						</display:column>
			
			
					    <display:column property="username" sortable="true" headerClass="sortable"
					         titleKey="customerForm.username"/>
					  
					    <display:column property="realName" sortable="true" headerClass="sortable"
					         titleKey="customerForm.realName"/>
					    <display:column property="email" sortable="true" headerClass="sortable"
					         titleKey="customerForm.email"/>
					    <display:column property="telNo" sortable="true" headerClass="sortable"
					         titleKey="customerForm.telNo"/>
					    <display:column property="mobileNo" sortable="true" headerClass="sortable"
					         titleKey="customerForm.mobileNo"/>
					    <display:column property="faxNo" sortable="true" headerClass="sortable"
					         titleKey="customerForm.faxNo"/>
					   
					    <display:column property="status" sortable="true" headerClass="sortable"
					         titleKey="customerForm.status"/>
					  
					    <display:column property="regTime" sortable="true" headerClass="sortable"
					         titleKey="customerForm.regTime"/>
					    
					    <display:column  titleKey="table.operating"> 
					                 <a href="customerExts.html?method=select&customerId=<c:out value="${customer.customerId}"/>"> 全部信息 </a>|
								    <a href="userEditCustomer.html?method=modifyCustomerPassword&customerId=<c:out value="${customer.customerId}"/>">密码重置</a>|
								    <a href="userEditCustomer.html?method=deleteCustomer&customerId=<c:out value="${customer.customerId}"/>">关闭</a>| 
								<a href="userEditCustomer.html?method=enableCustomer&customerId=<c:out value="${customer.customerId}"/>" >激活</a>
								</display:column>
					   
					    <display:setProperty name="paging.banner.item_name" value="customer"/>
					    <display:setProperty name="paging.banner.items_name" value="customers"/>
					</display:table>



							
					 </td>
					</tr>
				  </table>
	  
	          <!---list end--->
		    </form>
	   
	</td>
  </tr>

</table>

<script type="text/javascript">
    highlightTableRows("customerList");
</script>